const express = require('express');
const router = express.Router()

const { userAuth, getPhoneCode } = require('../../controller/web/AuthController');

// 获取手机短信验证码
router.post('/auth/code', getPhoneCode)

//用户注册登录
router.post('/auth', userAuth)

module.exports = router